<div class="layui-row layui-col-space15">
    <div class="layui-col-sm12">
        @if ($items)
        <div class="layui-panel" style="padding:15px;">
            <div class="layui-row layui-col-space15">
                @foreach($items as $i => $item)
                @if ($item->thumb)
                <div class="layui-col-sm3">
                    <a href="{{$item->link}}" title="{{$item->title}}"><img src="{{$item->thumb}}" alt="{{$item->title}}" style="width:100%"></a>
                    <br />
                    <p><a href="{{$item->link}}" title="{{$item->title}}" rel="nofollow">{{$item->title}}</a></p>
                </div>
                @endif
                @endforeach
            </div>
        </div>
        @else
        <div class="layui-panel" style="padding:15px;text-align:center">暂无图片</div>
        @endif
    </div>
</div>